﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Graphics;

namespace Arcadium.GameEntities.Projectiles
{
    class RemoteProjectile : Projectile
    {
        private int direction;

        public RemoteProjectile(World world, NetworkGamer shooter, Vector2 position, ProjectileType projectileType) : 
            base(world, shooter, position)
        {
            SetTexture(projectileType);
            switch (projectileType)
            {
                case ProjectileType.StandardBullet:
                    //Position = world.Map.GetPlayerSpawnPoint(0);
                    //Weapon = new HandGun(world, this);
                    break;
                //case ProjectileType.SmallEnemy:
                //    int spawnArea = -1;
                //    Position = world.Map.GetRandomSpawnPoint(ref spawnArea, 0);
                //    break;

                // TODO: Add more remote properties-asignments.

            }

        }

        public override int Direction
        {
            get { return direction; }
            set { direction = value; }
        }
    }
}
